package com.benefm.multipar.pad.event;

public class EventAction {

    public static final int                  DEVICE_FOUND       =       1;//发现设备
    public static final int              DEVICE_CONNECTED       =       2;//设备已连接
    public static final int           DEVICE_CONNECT_FAIL       =       3;//设备连接失败
    public static final int           DEVICE_DISCONNECTED       =       4;//设备失去连接
    public static final int                    SCAN_START       =       5;//扫描开始
    public static final int                   SCAN_FINISH       =       6;//扫描完成


    public static final int              EVENT_HOLTER_SET       =       15;//设置holter返回
    public static final int            DEVICE_INIT_FINISH       =       16;//设备初始化完成
    public static final int            DEVICE_HOLTER_MODE       =       17;//运行模式
    public static final int                   DEVICE_WARN       =       18;//设备警告
//    public static final int              DEVICE_GYROSCOPE       =       19;//陀螺仪数据
//    public static final int            DEVICE_TEMPERATURE       =       50;//体温数据
//    public static final int    DEVICE_TEMPERATURE_INVALID       =       51;//无效体温数据


    public static final int              TIMER_INIT_START       =       22;



    public static final int            ECG_DATA_LEAD_RESP       =       32;//RESP
    public static final int               ECG_DATA_LEAD_I       =       33;//一导
    public static final int              ECG_DATA_LEAD_II       =       34;//二导数据
    public static final int             ECG_DATA_LEAD_III       =       35;//三导数据
    public static final int              ECG_DATA_LEAD_V1       =       36;//V1导数据
    public static final int              ECG_DATA_LEAD_V2       =       37;//V2导数据
    public static final int              ECG_DATA_LEAD_V3       =       38;//V3导数据
    public static final int              ECG_DATA_LEAD_V4       =       39;//V4导数据
    public static final int              ECG_DATA_LEAD_V5       =       40;//V5导数据
    public static final int              ECG_DATA_LEAD_V6       =       41;//V5导数据
    public static final int             ECG_DATA_LEAD_AVR       =       42;//aVR导数据
    public static final int              ECG_DATA_LEAD_AVL      =       43;//aVF导数据
    public static final int              ECG_DATA_LEAD_AVF      =       44;//aVF导数据
    public static final int              ECG_FILTER_UPDATE      =       45;//滤波开关

    public static final int           DEVICE_POD_CONNECTED      =       46;
    public static final int        DEVICE_POD_DISCONNECTED      =       47;
    public static final int          DEVICE_BPW1_CONNECTED      =       48;
    public static final int       DEVICE_BPW1_DISCONNECTED      =       49;
//    public static final int          DEVICE_POD_VALUE_SPO2      =       61;
//    public static final int  DEVICE_POD_VALUE_SPO2_INVALID      =       62;
    public static final int           DEVICE_BPW1_PRESSURE      =       63;
    public static final int            DEVICE_BPW1_SBP_DBP      =       64;
    public static final int              DEVICE_BPW1_ERROR      =       65;
    public static final int    DEVICE_TEMPERATURE_HUMIDITY      =       66;
    public static final int    DEVICE_ATMOSPHERIC_PRESSURE      =       67;
    public static final int      DEVICE_LATITUDE_LONGITUDE      =       68;



    public static final int                      ECG_DATA                =       810;//心电数据
    public static final int                ECG_HR_BATTERY                =       811;//用户信息有更新
    public static final int               ECG_MEMORY_INFO                =       812;//设备存储信息
    public static final int          ECG_DATA_NEED_UPLOAD                =       813;//等待上传的数据
    public static final int               ECG_CHARGE_INFO                =       814;//电池状态
    public static final int            ECG_DEVICE_VERSION                =       815;//记录仪版本
    public static final int              ECG_FILE_MESSAGE                =       816;//文件信息
    public static final int                ECG_LEAD_STATE                =       817;//导联状态（从机--主机）
    public static final int                ECG_WIFI_STATE                =       818;//wifi state
    public static final int               ECG_UPLOAD_INFO                =       819;//设备传输状态
    public static final int                ECG_ERROR_INFO                =       820;//设备异常状态 底座状态
    public static final int                 ECG_WIFI_NAME                =       821;//底座WIFI名称
    public static final int                  ECG_WIFI_PWD                =       822;//底座WIFI密码
    public static final int            SERVER_FILE_EXISTS                =       823;//文件已存在服务器



    public static final int                 EVENT_ACTION_ATTACHED        =       856;

    public static final int                 EVENT_ACTION_DETACHED        =       857;

    public static final int               EVENT_ACTION_PERMISSION        =       858;
    public static final int             EVENT_ACTION_UPLOAD_COUNT        =       859;
    public static final int                EVENT_ACTION_WIFI_SSID        =       860;
    public static final int                 EVENT_ACTION_WIFI_PWD        =       861;
    public static final int              EVENT_ACTION_WIFI_RESULT        =       862;
    public static final int               EVENT_ACTION_COPY_COUNT        =       863;
    public static final int               EVENT_ACTION_COPY_ERROR        =       864;

    public static final int                 EVENT_ACTION_SEND_DATA       =       1000;//发送数据
    public static final int             EVENT_ACTION_RECEIVED_DATA       =       1001;//接收数据



    public static final int            HOME_DATA_USER_INFO        =       60;
    public static final int               MSG_MQTT_CONNECT        =       61;
    public static final int            MSG_MQTT_DISCONNECT        =       62;

    public static final int               DEVICE_GYROSCOPE       =       201;//陀螺仪数据
    public static final int             DEVICE_TEMPERATURE       =       202;//体温数据
    public static final int     DEVICE_TEMPERATURE_INVALID       =       203;//体温数据
    public static final int                  DEVICE_ECG_HR       =       204;//心电心率
    public static final int                    DEVICE_SPO2       =       205;//血氧数据
    public static final int            DEVICE_SPO2_INVALID       =       206;//血氧数据无效
    public static final int          DEVICE_BLOOD_PRESSURE       =       207;//血压数据
    public static final int               DEVICE_RESP_DATA       =       208;//呼吸
    public static final int                 DEVICE_BATTERY       =       209;//电量

}
